home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
dev
/
cross
/
sasmv14.dms
/
sasmv14.adf
/
examples
/
structure.s
< prev
Wrap
Text File
|
1993-05-22
|
576b
|
29 lines
-- Little Structure Example --
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rsreset
sym_Status rs.w 0
sym_Value rs.l 0
sym_Name rs.b "the contents are ignored... " ;30 chars!
sym_IncX rs.b 0,0
sym_IncY rs.b 0,0
sym_Next rs.l 0
sym_Check rs.l "" ;will do a warning...
sym_Fin rs.b 0
;This piece of code will just do well like the following
;-------------------------------------------------------
sym_Status EQU 0
sym_Value EQU 2
sym_Name EQU 6
sym_IncX EQU 36
sym_IncY EQU 38
sym_Next EQU 40
sym_Check EQU 44
sym_Fin EQU 44
;But the first version is much more nicer, isn't it?